SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS OFF
GO
CREATE VIEW [dbo].[TTTIOP_LOGI] AS 
SELECT DISTINCT CO_EMPR, NU_CNTB_EMPR, CO_UNID_CNTB, CO_OPRC_CNTB
FROM OFILOGI..TTTIOP_LOGI
Where Isnull(Rtrim(NU_CNTB_EMPR), '') <> ''
AND Isnull(Rtrim(CO_UNID_CNTB), '') <> ''
AND Isnull(Rtrim(CO_OPRC_CNTB), '') <> ''
GO
